package geocoding;

import graph.ALGOEdge;

import java.util.LinkedList;

public class ALGOTrip extends LinkedList<ALGOEdge> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int currentTripStep;

	public ALGOTrip() {
		super();
	}
	
	public void appendPart(ALGOEdge e) {
		this.add(e);
	}
	
	public ALGOEdge getNextStep() {
		return get(currentTripStep ++);
	}
}
